package com.pcbly.web.persistence.form;

import java.util.HashMap;
import java.util.List;

import com.pcbly.web.persistence.BaseDao;

@SuppressWarnings("unchecked")
public interface MacroComponentDao extends BaseDao {
	
	List<HashMap<String, String>> findOptionBySql(String sql) throws Exception;

	void saveDataHashMap(HashMap<String, String> map) throws Exception;

	HashMap<String, String> findDataByTabelNameAndId(String tableName, String id)
			throws Exception;
}
